package com.heima.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.heima.pojo.SkuClass;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkuVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long skuId;
    private String skuName;
    private String skuImage;
    private Integer price;
    private Integer classId;
    private Integer IsDiscount;
    private String unit;
    private String brandName;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer isDiscount;
    private SkuClass skuClass;
    private Integer realPrice;
    private Integer capacity;
}
